
function getSharedInfo(e,shopName){
			var shopName=$(e).find('#shopName').val();		
			var shareholderId=$(e).find('#shareholderId').val();
			var sharedUserId=$(e).find('#sharedUserId').val();
			var mealId = $(e).find('#meal_id').val();
			var mealName = $(e).find('#meal_name').val();
			shareVipCard(shopName,shareholderId, sharedUserId, mealId, mealName);
		} 
		
		$(function() {
			$("#socialShare").socialShare({
				content : '',
				url : '',
				titile : ''
			});
		});
		
		//调取分享接口，使用最新版的分享接口
		function shareVipCard(shopName, shareholderId, sharedUserId, mealId, mealName) {
			wx.ready(function() {
				//1、 监听“分享给朋友”，按钮点击、自定义分享内容及分享结果接口
				$(document).on("click", ".msb_network_button.weixin", function() {
					wx.onMenuShareAppMessage({
					//wx.updateAppMessageShareData({
						title : '这是我合作的餐饮店，送你一张会员卡呦~', // 分享标题
						desc : '会员卡来自【'+shopName+'】里包含【'+mealName+'】，可以来门店使用哦', // 分享描述
						link : 'http://food.3kkk.xyz/carworld_weixin/vipcard/receivedVipCard?shareholderId=' + shareholderId + '&sharedUserId=' + sharedUserId + '&mealId=' + mealId + '&status=shareCard',
						imgUrl : 'http://food.3kkk.xyz/carworld_weixin/images/vipcard.jpg', // 分享图标
						success : function() {
							// 设置成功
						}
					});
					document.getElementById('share_reminder').style.display = 'block';
				});

				// 2、 监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
				$(document).on("click", ".msb_network_button.moments", function() {
					wx.onMenuShareTimeline({
					//wx.updateTimelineShareData({
						title : '这是我合作的餐饮店，送你一张会员卡呦~', // 分享标题
						link : 'http://food.3kkk.xyz/carworld_weixin/vipcard/receivedVipCard?shareholderId=' + shareholderId + '&sharedUserId=' + sharedUserId + '&mealId=' + mealId + '&status=shareCard',
						imgUrl : 'http://food.3kkk.xyz/carworld_weixin/images/vipcard.jpg', // 分享图标
						success : function() {
							// 设置成功
						}
					});
					document.getElementById('share_reminder').style.display = 'block';
				});
				
			})
		}